package com.zhl.media.app.model;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;

import java.io.Serializable;
import java.util.List;

import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Transient;

@Entity
public class Elevator implements Serializable {
    private static final long serialVersionUID = -8940196742313291740L;
    @Id
    private String id;
    private String name;
    private Integer type;
    private String unitId;
    private String elevatorPosition;
    @Transient
    private List<MediaPosition> medias;

    @Generated(hash = 1340253720)
    public Elevator(String id, String name, Integer type, String unitId,
            String elevatorPosition) {
        this.id = id;
        this.name = name;
        this.type = type;
        this.unitId = unitId;
        this.elevatorPosition = elevatorPosition;
    }
    @Generated(hash = 732739899)
    public Elevator() {
    }
    public String getId() {
        return this.id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getName() {
        return this.name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public Integer getType() {
        return this.type;
    }
    public void setType(Integer type) {
        this.type = type;
    }
    public String getUnitId() {
        return this.unitId;
    }
    public void setUnitId(String unitId) {
        this.unitId = unitId;
    }

    public List<MediaPosition> getMedias() {
        return medias;
    }

    public void setMedias(List<MediaPosition> medias) {
        this.medias = medias;
    }
    public String getElevatorPosition() {
        return this.elevatorPosition;
    }
    public void setElevatorPosition(String elevatorPosition) {
        this.elevatorPosition = elevatorPosition;
    }
}
